package org.jeecg.common.base;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author yann
 * @date 2020/3/4
 * @description:
 */
public interface IBaseService<T> extends IService<T> {

    /**
     * 填充字段删除方法
     * @param entity
     * @return
     */
    boolean removeByIdWithFill(T entity);

    <S> S copy(Object source, Class<S> clazz);
}
